// Author: combacsa@kaist.ac.kr
// http://www.jungol.co.kr/prog/Hanal/hanalView.php?qs_code=144

//#define COMPILE
#ifdef COMPILE

#include <fstream>
using namespace std;

int main() {
    ifstream in("input.txt");
    ofstream out("output.txt");
    
    int n;
    int i, j;
    
    in >> n;
    for (i = 1; i <= n; i++) {
        for (j = 1; j <= (n - i) * 2; j++)
            out << " ";
        for (j = 1; j <= 2 * i - 1; j++)
            out << "*";
        out << endl;
    }
    
    
    in.close();
    out.close();
	return 0;
}

#endif
